<script lang="jsx">
/**
 * @author lilinjie
 * @Description:
 */

import { defineComponent } from 'vue'

export default defineComponent({
  name: 'MainPanel',
  props: {
    data: {
      type: Object,
      default: () => {
        return {
          label: '公共表格'
        }
      }
    }
  },
  setup(props) {
    return () => {
      return (
          <div class="product">
            <a-form layout="inline">
              <a-form-item
                  label="ID"
                  name="username"
              >
                <a-input v-model:value={props.data.value} />
              </a-form-item>
            </a-form>
          </div>
      )
    }
  }
})
</script>
